package com.linxianqin.springbootVue.domain.dto;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lxq
 * @version 1.0
 * @description: SysDictDataDTO对象
 * @date 2020/12/17 13:59
 */
@Data
@ApiModel(value="SysDictDataDTO对象", description="字典数据表")
public class SysDictDataDTO implements Serializable {

        private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "字典编码")
        private Long dictCode;

        @ApiModelProperty(value = "字典排序")
        private Integer dictSort;

        @ApiModelProperty(value = "字典标签")
        private String dictLabel;

        @ApiModelProperty(value = "字典键值")
        private String dictValue;

        @ApiModelProperty(value = "字典类型")
        private String dictType;

        @ApiModelProperty(value = "样式属性（其他样式扩展）")
        private String cssClass;

        @ApiModelProperty(value = "表格回显样式")
        private String listClass;

        @ApiModelProperty(value = "是否默认（Y是 N否）")
        private String isDefault;

        @ApiModelProperty(value = "状态（0正常 1停用）")
        private String status;

        @ApiModelProperty(value = "创建者")
        private String createBy;

        @ApiModelProperty(value = "创建时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;

        @ApiModelProperty(value = "更新者")
        private String updateBy;

        @ApiModelProperty(value = "更新时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date updateTime;

        @ApiModelProperty(value = "备注")
        private String remark;
    }
